package Command;

public class LightOnCommand implements ICommand {

	//concreate command knows about the receiver 
	private Light light ; 
	
	public LightOnCommand (Light light){
		this.light = light;
	}
	
	@Override
	public void excute() {
		light.turnOn();
	}

	
}
